package com.yanqu.road.entity.enums;

public enum eBanquetInvitationType {
	/**
	 * 婚贴
	 */
	MarryInvitation(1),
	/**
	 * 状元贴
	 */
	ChildInvitation(2),
	/**
	 * 乔迁贴
	 */
	EstateInvitation(3),
	/**
	 * 郡王宴帖
	 */
	CrossBanquet1Invitation(4),
	/**
	 * 嗣王宴帖
	 */
	CrossBanquet2Invitation(5),
	/**
	 * 亲王宴帖
	 */
	CrossBanquet3Invitation(6),

	/**
	 * 生辰宴帖
	 */
	CrossBirthdayInvitation(7)
	;

	private int intValue;

	eBanquetInvitationType(int value) {
		intValue = value;
	}

	public int getValue() {
		return intValue;
	}

	public static eBanquetInvitationType forValue(int value) {
		for (eBanquetInvitationType type : eBanquetInvitationType.values()) {
			if (type.intValue == value) {
				return type;
			}
		}
		return null;
	}
}
